import './assets/main.scss';

import 'element-plus/dist/index.css';
import ElementPlus from 'element-plus';
import { createApp } from 'vue';
import { createPinia } from 'pinia';

import Message from './utils/Message';
import Comfirm from './utils/Comfirm';
import App from './App.vue';
import router from './router';
import request from './utils/Request';

const app = createApp(App);

app.use(createPinia());
app.use(router);
app.use(ElementPlus);

app.config.globalProperties.$message = Message;
app.config.globalProperties.$comfirm = Comfirm;
app.config.globalProperties.$request = request;

app.mount('#app');
